package com.zhou.exception;

public enum UpExceptionEnum {

    UPLOAD_FAILID(1002,"上传失败"),
    INSERT_FAIL(1003,"文件信息入库失败"),
    FIND_FAIL(1004,"文件找不到"),
    QUERY_FAIL(1005,"查询文件信息是吧"),
    SYSTEM_EXCEPTION(410,"失败");

    Integer code;
    String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    UpExceptionEnum(int code, String msg) {
        this.code=code;
        this.msg=msg;
}

}
